package com.jimmy.medical.base;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.domain.Sort;
import org.springframework.data.repository.CrudRepository;

import java.io.Serializable;

public interface PagingAndSortingService<Rep extends CrudRepository<T, ID>, T, ID extends Number> extends CrudService<Rep, T, ID> {
    Iterable<T> findAll(Sort var1);

    Page<T> findAll(Pageable var1);
}
